/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.nxlv2.nomad.accessdb.dao;

import com.nxlv2.nomad.businessobjects.Article;
import com.nxlv2.nomad.businessobjects.DetailCommande;
import com.nxlv2.nomad.businessobjects.DetailDemande;
//import com.nxlv2.nomad.businessobjects.DetailCommande;
//import com.nxlv2.nomad.businessobjects.DetailDemande;
import com.nxlv2.nomad.businessobjects.Prix;
import java.util.List;

/**
 *
 * @author Nastasia
 */
public interface IArticleDao {

    void saveArticle(Article article) throws DAOException;
    void deleteArticle(int i) throws DAOException;
    void updateArticle(Article article) throws DAOException;
    Article findArticleById(int id) throws DAOException;
    Article existByIdbase(int idbase) throws DAOException;
    List<Prix> getPrixParArticle(Article article) throws DAOException;
    List<Prix> getPrixMajParArticle(Article article) throws DAOException;
    void lierPrixAArticle(Prix prix, Article article)throws DAOException;
//    List<DetailCommande> getDetailCommandesParArticle(Article article) throws DAOException;
//    void lierDetailCommandeAArticle(DetailCommande detailCommande, Article article)throws DAOException;
//    List<DetailDemande> getDetailDemandesParArticle(Article article) throws DAOException;
//    void lierDetailDemandeAArticle(DetailDemande detailDemande, Article article)throws DAOException;
}
